import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Factory from '@/components/Factory'
import Serve from '@/components/Serve'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/Factory',
      name: 'Factory',
      component: Factory
    },
    {
      path: '/Serve',
      name: 'Serve',
      component: Serve
    },
  ]
})
